package com.woniuxy.commons.entity.warehouse;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: admin  <br/>
 * Date: 2022/4/19:14:26  <br/>
 * Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode
@ApiModel(value = "出入库单的产品信息")
public class IoWarehouseProduct implements Serializable {
    private static final long serialVersionUID = 401744082441638290L;
    @ApiModelProperty(value = "出入库商品表的自增id")
    private Integer id;

    @ApiModelProperty(value = "出入库单id")
    private String ioOrderNo;

    @ApiModelProperty(value = "产品信息")
    private String productInfo;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品的编码")
    private String code;

    @ApiModelProperty(value = "客户")
    private String customer;

    @ApiModelProperty(value = "区域")
    private String area;

    @ApiModelProperty(value = "状态  未开始 进行中 成功 失败")
    private int status;


    @ApiModelProperty(value = "成色")
    private String condition;

    @ApiModelProperty(value = "重量")
    private Integer weight;

    @ApiModelProperty(value = "数量")
    private Integer amount;

    @ApiModelProperty(value = "克工费")
    private Integer perGram;

    @ApiModelProperty(value = "产品id,对应哪一些商品出入库")
    private Integer productId;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "乐观锁版本号")
    @Version
    private Integer revision;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
